from . import index_blue
from flask import current_app
from flask import render_template


# 路由函数
@index_blue.route('/')
def hello_world():
    return render_template('news/index.html')


# 访问网站图标
@index_blue.route('/favicon.ico')
def favicon():
    return current_app.send_static_file('news/favicon.ico')
